<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="HandheldFriendly" content="True"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>{$doc.title}_{:sys_config('WEB_SITE_NAME')}</title>
    <meta name="keywords" content="{$doc.keywords|default=sys_config('WEB_SITE_KEYWORDS')}"/>
    <meta name="description" content="{$doc.description|default=sys_config('WEB_SITE_DESCRIPTION')}"/>
    <meta http-equiv="mobile-agent" content="format=xhtml;url={:jump_by_lang('m')}">
    <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{:jump_by_lang('m')}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
    <link rel="shortcut icon" href="__STATIC__/../favicon.ico">
    <link rel="stylesheet" href="__STATIC__/addons/cms/template/normal/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="__STATIC__/addons/cms/template/normal/static/css/style.css"/>
    <link rel="stylesheet" href="__STATIC__/addons/cms/template/normal/static/css/carousel.css"/>
    <script src="__STATIC__/addons/cms/template/normal/static/js/jquery.min.js"></script>
    <script src="__STATIC__/addons/cms/template/normal/static/js/bootstrap.min.js"></script>
    <style>
        .content-body{
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
    {include file="normal/z-head"}
    <div class="banner">
        <a target="_blank" href="tencent://message/?uin={:sys_config('QQ')}&Site={:sys_config('SITE_DOMAIN')}&Menu=yes" rel="nofollow">
            <img src="https://fakeimg.pl/1000x250" title="{:sys_config('WEB_SITE_TITLE')}_{:sys_config('WEB_SITE_NAME')}"/>
        </a>
    </div>
    <div class="container">
        <div class="row">
            <div class="col-md-8 text-center col-md-offset-2">
                <div class="nei-menu">
                    <a href="{:jump_by_lang('','index')}" class=""> 首 页 </a>
                    {volist name="$pos" id="vo"}
                    <a href="{$vo.typeurl}" target="{$vo.target}" rel="{$vo.rel}" class="">{$vo.typename}</a>
                    {/volist}
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center lingyun-content">
                <div class="content-title">
                    <h3>{$doc.title}<br><br><a target="_blank" class="btn btn-success btn-preview btn-lg" href="{:get_demo_url($nav.id,$doc.id)}">在线演示</a></h3>
                </div>
                <div class="lead sort-title">
                    <b>作者：{$doc.writer}</b>
                    <b>日期：{$doc.create_time|date="Y-m-d H:i:s"}</b>
                    <b>浏览量：{$doc.view|default=100}</b>
                </div>
                <div class="content-body">
                    {$doc.content}
                </div>
            </div>
        </div>
        <div class="row m20">
            {if condition="$preDoc"}
            <div class="col-md-12">上一篇 ： <a href="{$preDoc.arturl}">{$preDoc.title}</a></div>
            {else /}
            <div class="col-md-12">上一篇 ： <a href="javascript:;">没有了</a></div>
            {/if}
            {if condition="$nextDoc"}
            <div class="col-md-12">下一篇 ： <a href="{$nextDoc.arturl}">{$nextDoc.title}</a></div>
            {else/}
            <div class="col-md-12">下一篇 ： <a href="javascript:;">没有了</a></div>
            {/if}
        </div>
    </div>
    {include file="normal/z-footer"}
    <script src="__STATIC__/addons/cms/template/normal/static/js/jquery-1.11.1.min.js"></script>
</body>
</html>